package com.comall.dc.banktest.domain.repository;

import com.comall.dc.banktest.domain.exception.AccountNotExistException;
import com.comall.dc.banktest.domain.model.Account;

import java.time.LocalDateTime;
import java.util.List;

public interface AccountRepository {
    Account load(Integer id) throws AccountNotExistException;

    Account save(Account account);
}
